﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" content="C#">
    <meta name="vs_defaultClientScript" content="JavaScript">
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <script type="text/javascript" language="javascript" src="../Script/easyui/jquery.min.js"></script>
    <script type="text/javascript" language="javascript" charset="gb2312"  src="../Script/pdf/iWebProduct.js"></script>
    <link href="../CSS/iWebProduct.css" rel="stylesheet" />
    <script type="text/javascript">
        var url = '';
        var mRecordID = '';
        var mIsExsitRId = ('False' == 'True');
    </script>
    <script>
        function openfile() {
            var file = $('#addfile').val();
            window.iWebPDF2015.Documents.CreateFromImage(file, 0);
        }
    </script>
</head>
<body>
     <form id="iWebPDF" method="post" action="DocumentSave.aspx" onsubmit="return SaveDocument();">
    <div>
        <label>标题：</label><input id="mtitle" />
    </div>
    <div>
        <label>合同：</label><input id="addfile" type="file" /><input type="button" onclick="openfile()" value="打开" />
    </div>
    <div>
        <object classid="clsid:7017318C-BC50-4DAF-9E4A-10AC8364C315" codebase="iWebPDF2015.cab#version=1,0,3,1080" id=iWebPDF2015 height=800  width=100%></object>


    </div>
    <div>
        状态：<span id="state"></span>
    </div>
    <div><span><a href="#" id="saveFile">保存文档</a></span></div>
   
        <input type="hidden" id="RecordID" name="RecordID" value="" />
        <input type="hidden" id="Subject" name="Subject" value="" />
        <input type="hidden" id="Author" name="Author" value="" />
        <input type="hidden" id="FileDate" name="FileDate" value="" />
        <input type="hidden" id="FileType" name="FileType" value="PDF" />
        <input type="hidden" id="HTMLPath" name="HTMLPath" value="" />
    </form>
</body>
</html>
